package com.base.po.czb_sdk;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GasOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GasOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andCzborderidIsNull() {
            addCriterion("CZBOrderId is null");
            return (Criteria) this;
        }

        public Criteria andCzborderidIsNotNull() {
            addCriterion("CZBOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andCzborderidEqualTo(String value) {
            addCriterion("CZBOrderId =", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidNotEqualTo(String value) {
            addCriterion("CZBOrderId <>", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidGreaterThan(String value) {
            addCriterion("CZBOrderId >", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidGreaterThanOrEqualTo(String value) {
            addCriterion("CZBOrderId >=", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidLessThan(String value) {
            addCriterion("CZBOrderId <", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidLessThanOrEqualTo(String value) {
            addCriterion("CZBOrderId <=", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidLike(String value) {
            addCriterion("CZBOrderId like", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidNotLike(String value) {
            addCriterion("CZBOrderId not like", value, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidIn(List<String> values) {
            addCriterion("CZBOrderId in", values, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidNotIn(List<String> values) {
            addCriterion("CZBOrderId not in", values, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidBetween(String value1, String value2) {
            addCriterion("CZBOrderId between", value1, value2, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzborderidNotBetween(String value1, String value2) {
            addCriterion("CZBOrderId not between", value1, value2, "czborderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidIsNull() {
            addCriterion("CZBOuterOrderId is null");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidIsNotNull() {
            addCriterion("CZBOuterOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidEqualTo(String value) {
            addCriterion("CZBOuterOrderId =", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidNotEqualTo(String value) {
            addCriterion("CZBOuterOrderId <>", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidGreaterThan(String value) {
            addCriterion("CZBOuterOrderId >", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidGreaterThanOrEqualTo(String value) {
            addCriterion("CZBOuterOrderId >=", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidLessThan(String value) {
            addCriterion("CZBOuterOrderId <", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidLessThanOrEqualTo(String value) {
            addCriterion("CZBOuterOrderId <=", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidLike(String value) {
            addCriterion("CZBOuterOrderId like", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidNotLike(String value) {
            addCriterion("CZBOuterOrderId not like", value, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidIn(List<String> values) {
            addCriterion("CZBOuterOrderId in", values, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidNotIn(List<String> values) {
            addCriterion("CZBOuterOrderId not in", values, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidBetween(String value1, String value2) {
            addCriterion("CZBOuterOrderId between", value1, value2, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbouterorderidNotBetween(String value1, String value2) {
            addCriterion("CZBOuterOrderId not between", value1, value2, "czbouterorderid");
            return (Criteria) this;
        }

        public Criteria andCzbordersnIsNull() {
            addCriterion("CZBOrderSn is null");
            return (Criteria) this;
        }

        public Criteria andCzbordersnIsNotNull() {
            addCriterion("CZBOrderSn is not null");
            return (Criteria) this;
        }

        public Criteria andCzbordersnEqualTo(String value) {
            addCriterion("CZBOrderSn =", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnNotEqualTo(String value) {
            addCriterion("CZBOrderSn <>", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnGreaterThan(String value) {
            addCriterion("CZBOrderSn >", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnGreaterThanOrEqualTo(String value) {
            addCriterion("CZBOrderSn >=", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnLessThan(String value) {
            addCriterion("CZBOrderSn <", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnLessThanOrEqualTo(String value) {
            addCriterion("CZBOrderSn <=", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnLike(String value) {
            addCriterion("CZBOrderSn like", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnNotLike(String value) {
            addCriterion("CZBOrderSn not like", value, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnIn(List<String> values) {
            addCriterion("CZBOrderSn in", values, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnNotIn(List<String> values) {
            addCriterion("CZBOrderSn not in", values, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnBetween(String value1, String value2) {
            addCriterion("CZBOrderSn between", value1, value2, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andCzbordersnNotBetween(String value1, String value2) {
            addCriterion("CZBOrderSn not between", value1, value2, "czbordersn");
            return (Criteria) this;
        }

        public Criteria andGasidIsNull() {
            addCriterion("GasId is null");
            return (Criteria) this;
        }

        public Criteria andGasidIsNotNull() {
            addCriterion("GasId is not null");
            return (Criteria) this;
        }

        public Criteria andGasidEqualTo(String value) {
            addCriterion("GasId =", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotEqualTo(String value) {
            addCriterion("GasId <>", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidGreaterThan(String value) {
            addCriterion("GasId >", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidGreaterThanOrEqualTo(String value) {
            addCriterion("GasId >=", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidLessThan(String value) {
            addCriterion("GasId <", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidLessThanOrEqualTo(String value) {
            addCriterion("GasId <=", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidLike(String value) {
            addCriterion("GasId like", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotLike(String value) {
            addCriterion("GasId not like", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidIn(List<String> values) {
            addCriterion("GasId in", values, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotIn(List<String> values) {
            addCriterion("GasId not in", values, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidBetween(String value1, String value2) {
            addCriterion("GasId between", value1, value2, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotBetween(String value1, String value2) {
            addCriterion("GasId not between", value1, value2, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasnameIsNull() {
            addCriterion("GasName is null");
            return (Criteria) this;
        }

        public Criteria andGasnameIsNotNull() {
            addCriterion("GasName is not null");
            return (Criteria) this;
        }

        public Criteria andGasnameEqualTo(String value) {
            addCriterion("GasName =", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotEqualTo(String value) {
            addCriterion("GasName <>", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameGreaterThan(String value) {
            addCriterion("GasName >", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameGreaterThanOrEqualTo(String value) {
            addCriterion("GasName >=", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameLessThan(String value) {
            addCriterion("GasName <", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameLessThanOrEqualTo(String value) {
            addCriterion("GasName <=", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameLike(String value) {
            addCriterion("GasName like", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotLike(String value) {
            addCriterion("GasName not like", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameIn(List<String> values) {
            addCriterion("GasName in", values, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotIn(List<String> values) {
            addCriterion("GasName not in", values, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameBetween(String value1, String value2) {
            addCriterion("GasName between", value1, value2, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotBetween(String value1, String value2) {
            addCriterion("GasName not between", value1, value2, "gasname");
            return (Criteria) this;
        }

        public Criteria andGunnoIsNull() {
            addCriterion("GunNo is null");
            return (Criteria) this;
        }

        public Criteria andGunnoIsNotNull() {
            addCriterion("GunNo is not null");
            return (Criteria) this;
        }

        public Criteria andGunnoEqualTo(String value) {
            addCriterion("GunNo =", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoNotEqualTo(String value) {
            addCriterion("GunNo <>", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoGreaterThan(String value) {
            addCriterion("GunNo >", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoGreaterThanOrEqualTo(String value) {
            addCriterion("GunNo >=", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoLessThan(String value) {
            addCriterion("GunNo <", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoLessThanOrEqualTo(String value) {
            addCriterion("GunNo <=", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoLike(String value) {
            addCriterion("GunNo like", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoNotLike(String value) {
            addCriterion("GunNo not like", value, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoIn(List<String> values) {
            addCriterion("GunNo in", values, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoNotIn(List<String> values) {
            addCriterion("GunNo not in", values, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoBetween(String value1, String value2) {
            addCriterion("GunNo between", value1, value2, "gunno");
            return (Criteria) this;
        }

        public Criteria andGunnoNotBetween(String value1, String value2) {
            addCriterion("GunNo not between", value1, value2, "gunno");
            return (Criteria) this;
        }

        public Criteria andOilnameIsNull() {
            addCriterion("OilName is null");
            return (Criteria) this;
        }

        public Criteria andOilnameIsNotNull() {
            addCriterion("OilName is not null");
            return (Criteria) this;
        }

        public Criteria andOilnameEqualTo(String value) {
            addCriterion("OilName =", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameNotEqualTo(String value) {
            addCriterion("OilName <>", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameGreaterThan(String value) {
            addCriterion("OilName >", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameGreaterThanOrEqualTo(String value) {
            addCriterion("OilName >=", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameLessThan(String value) {
            addCriterion("OilName <", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameLessThanOrEqualTo(String value) {
            addCriterion("OilName <=", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameLike(String value) {
            addCriterion("OilName like", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameNotLike(String value) {
            addCriterion("OilName not like", value, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameIn(List<String> values) {
            addCriterion("OilName in", values, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameNotIn(List<String> values) {
            addCriterion("OilName not in", values, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameBetween(String value1, String value2) {
            addCriterion("OilName between", value1, value2, "oilname");
            return (Criteria) this;
        }

        public Criteria andOilnameNotBetween(String value1, String value2) {
            addCriterion("OilName not between", value1, value2, "oilname");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountIsNull() {
            addCriterion("SBDPayAmount is null");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountIsNotNull() {
            addCriterion("SBDPayAmount is not null");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountEqualTo(BigDecimal value) {
            addCriterion("SBDPayAmount =", value, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountNotEqualTo(BigDecimal value) {
            addCriterion("SBDPayAmount <>", value, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountGreaterThan(BigDecimal value) {
            addCriterion("SBDPayAmount >", value, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SBDPayAmount >=", value, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountLessThan(BigDecimal value) {
            addCriterion("SBDPayAmount <", value, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SBDPayAmount <=", value, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountIn(List<BigDecimal> values) {
            addCriterion("SBDPayAmount in", values, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountNotIn(List<BigDecimal> values) {
            addCriterion("SBDPayAmount not in", values, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SBDPayAmount between", value1, value2, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andSbdpayamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SBDPayAmount not between", value1, value2, "sbdpayamount");
            return (Criteria) this;
        }

        public Criteria andAmountgunIsNull() {
            addCriterion("AmountGun is null");
            return (Criteria) this;
        }

        public Criteria andAmountgunIsNotNull() {
            addCriterion("AmountGun is not null");
            return (Criteria) this;
        }

        public Criteria andAmountgunEqualTo(BigDecimal value) {
            addCriterion("AmountGun =", value, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunNotEqualTo(BigDecimal value) {
            addCriterion("AmountGun <>", value, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunGreaterThan(BigDecimal value) {
            addCriterion("AmountGun >", value, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AmountGun >=", value, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunLessThan(BigDecimal value) {
            addCriterion("AmountGun <", value, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AmountGun <=", value, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunIn(List<BigDecimal> values) {
            addCriterion("AmountGun in", values, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunNotIn(List<BigDecimal> values) {
            addCriterion("AmountGun not in", values, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AmountGun between", value1, value2, "amountgun");
            return (Criteria) this;
        }

        public Criteria andAmountgunNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AmountGun not between", value1, value2, "amountgun");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountIsNull() {
            addCriterion("CZBPayAmount is null");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountIsNotNull() {
            addCriterion("CZBPayAmount is not null");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountEqualTo(BigDecimal value) {
            addCriterion("CZBPayAmount =", value, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountNotEqualTo(BigDecimal value) {
            addCriterion("CZBPayAmount <>", value, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountGreaterThan(BigDecimal value) {
            addCriterion("CZBPayAmount >", value, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CZBPayAmount >=", value, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountLessThan(BigDecimal value) {
            addCriterion("CZBPayAmount <", value, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CZBPayAmount <=", value, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountIn(List<BigDecimal> values) {
            addCriterion("CZBPayAmount in", values, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountNotIn(List<BigDecimal> values) {
            addCriterion("CZBPayAmount not in", values, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CZBPayAmount between", value1, value2, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andCzbpayamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CZBPayAmount not between", value1, value2, "czbpayamount");
            return (Criteria) this;
        }

        public Criteria andPricegunIsNull() {
            addCriterion("PriceGun is null");
            return (Criteria) this;
        }

        public Criteria andPricegunIsNotNull() {
            addCriterion("PriceGun is not null");
            return (Criteria) this;
        }

        public Criteria andPricegunEqualTo(BigDecimal value) {
            addCriterion("PriceGun =", value, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunNotEqualTo(BigDecimal value) {
            addCriterion("PriceGun <>", value, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunGreaterThan(BigDecimal value) {
            addCriterion("PriceGun >", value, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PriceGun >=", value, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunLessThan(BigDecimal value) {
            addCriterion("PriceGun <", value, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PriceGun <=", value, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunIn(List<BigDecimal> values) {
            addCriterion("PriceGun in", values, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunNotIn(List<BigDecimal> values) {
            addCriterion("PriceGun not in", values, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PriceGun between", value1, value2, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPricegunNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PriceGun not between", value1, value2, "pricegun");
            return (Criteria) this;
        }

        public Criteria andPriceunitIsNull() {
            addCriterion("PriceUnit is null");
            return (Criteria) this;
        }

        public Criteria andPriceunitIsNotNull() {
            addCriterion("PriceUnit is not null");
            return (Criteria) this;
        }

        public Criteria andPriceunitEqualTo(BigDecimal value) {
            addCriterion("PriceUnit =", value, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitNotEqualTo(BigDecimal value) {
            addCriterion("PriceUnit <>", value, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitGreaterThan(BigDecimal value) {
            addCriterion("PriceUnit >", value, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PriceUnit >=", value, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitLessThan(BigDecimal value) {
            addCriterion("PriceUnit <", value, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PriceUnit <=", value, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitIn(List<BigDecimal> values) {
            addCriterion("PriceUnit in", values, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitNotIn(List<BigDecimal> values) {
            addCriterion("PriceUnit not in", values, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PriceUnit between", value1, value2, "priceunit");
            return (Criteria) this;
        }

        public Criteria andPriceunitNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PriceUnit not between", value1, value2, "priceunit");
            return (Criteria) this;
        }

        public Criteria andLitreIsNull() {
            addCriterion("Litre is null");
            return (Criteria) this;
        }

        public Criteria andLitreIsNotNull() {
            addCriterion("Litre is not null");
            return (Criteria) this;
        }

        public Criteria andLitreEqualTo(BigDecimal value) {
            addCriterion("Litre =", value, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreNotEqualTo(BigDecimal value) {
            addCriterion("Litre <>", value, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreGreaterThan(BigDecimal value) {
            addCriterion("Litre >", value, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Litre >=", value, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreLessThan(BigDecimal value) {
            addCriterion("Litre <", value, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Litre <=", value, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreIn(List<BigDecimal> values) {
            addCriterion("Litre in", values, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreNotIn(List<BigDecimal> values) {
            addCriterion("Litre not in", values, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Litre between", value1, value2, "litre");
            return (Criteria) this;
        }

        public Criteria andLitreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Litre not between", value1, value2, "litre");
            return (Criteria) this;
        }

        public Criteria andPaystatusIsNull() {
            addCriterion("PayStatus is null");
            return (Criteria) this;
        }

        public Criteria andPaystatusIsNotNull() {
            addCriterion("PayStatus is not null");
            return (Criteria) this;
        }

        public Criteria andPaystatusEqualTo(Integer value) {
            addCriterion("PayStatus =", value, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusNotEqualTo(Integer value) {
            addCriterion("PayStatus <>", value, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusGreaterThan(Integer value) {
            addCriterion("PayStatus >", value, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("PayStatus >=", value, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusLessThan(Integer value) {
            addCriterion("PayStatus <", value, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusLessThanOrEqualTo(Integer value) {
            addCriterion("PayStatus <=", value, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusIn(List<Integer> values) {
            addCriterion("PayStatus in", values, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusNotIn(List<Integer> values) {
            addCriterion("PayStatus not in", values, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusBetween(Integer value1, Integer value2) {
            addCriterion("PayStatus between", value1, value2, "paystatus");
            return (Criteria) this;
        }

        public Criteria andPaystatusNotBetween(Integer value1, Integer value2) {
            addCriterion("PayStatus not between", value1, value2, "paystatus");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}